package com.yunzo.coc.router;

import com.jfinal.config.Routes;
import com.yunzo.coc.api.*;

/**
 * @author xiaobo
 */
public class APIRouter extends Routes {
    @Override
    public void config() {
        //公共api
        add("/api", CommonAPIController.class);
        //用户相关
        add("/api/account", AccountAPIController.class);
        //团体相关
        add("/api/group",GroupAPIController.class);
        //文件相关
        add("/api/file",FileAPIController.class);
    }
}
